using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RimWorld;
using UnityEngine;
using Verse;
using Verse.AI;
using Verse.Sound;

namespace RimZombieGirl
{
    public class PawnComp_GeneExt : ThingComp
    {

        public PawnComp_GeneExt()
        {
            // Constructor logic if needed
        }

        public PawnComp_GeneExt(RaceProperties def)
        {
            this.thinkTreeMain = def.thinkTreeMain;
            this.thinkTreeConstant = def.thinkTreeConstant;
        }

        public ThinkTreeDef GetThinkTreeDef()
        {
            return thinkTreeMain;
        }

        public ThinkTreeDef GetConstantThinkTreeDef()
        {
            return thinkTreeConstant;
        }

        public FoodTypeFlags GetFoodType()
        {
            return foodType;
        }

        public ThinkTreeDef thinkTreeMain;

        public ThinkTreeDef thinkTreeConstant;

        public FoodTypeFlags foodType = FoodTypeFlags.None;

        public bool allowEatCorpse = false;

        public void ExposeData()
        {
            Scribe_Defs.Look(ref thinkTreeMain, "thinkTreeMain");
            Scribe_Defs.Look(ref thinkTreeConstant, "thinkTreeConstant");
            Scribe_Values.Look(ref foodType, "foodType", FoodTypeFlags.None);
            Scribe_Values.Look(ref allowEatCorpse, "allowEatCorpse", false);
        }
    }
}